package com.xudow.app.dynamicstate_old.module.discovery.search;

import android.view.ViewGroup;
import android.widget.TextView;

import com.jude.easyrecyclerview.adapter.BaseViewHolder;
import com.xudow.app.R;

import butterknife.BindView;
import butterknife.ButterKnife;

/**
 * Created by ske on 2016/6/30.
 */
public class SearchHistoryViewHolder extends BaseViewHolder<String> {
    @BindView(R.id.text)
    TextView text;

    public SearchHistoryViewHolder(ViewGroup parent) {
        super(parent, R.layout.item_history);
        ButterKnife.bind(this, itemView);
    }

    @Override
    public void setData(String data) {
        text.setText(data);
    }
}
